package LEETCODE2023.BISHUA100;

public class SolutionBM63 {
    public static void main(String[] args) {
        SolutionBM63 solutionBM63 = new SolutionBM63();
        System.out.println(solutionBM63.jumpFloor(7));
    }
    public int jumpFloor(int target) {
        int step1=1,step2=2;
        if (target<1){
            return 0;
        } else if (target<3) {
            return target;
        }else {
            return jumpFloor(target-1)+jumpFloor(target-2);
        }
    }
}
